//
//  NSArray+category_CCKit.h
//  CCKit
//
//  Created by tucici on 2019/3/18.
//  Copyright © 2019 tucici. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSArray (category_CCKit)
@property (nonatomic, assign) CGFloat sum;
@property (nonatomic, assign) CGFloat avg;
@property (nonatomic, assign) CGFloat max;
@property (nonatomic, assign) CGFloat min;
/**
 *@pragma 按数组元素(字符串)进行排序,按照字母顺序
 */
- (NSArray *)charactersOrder;
/**
 *@pragma 按数组元素(字符串的首字母)进行分组
 */
- (NSArray *)orderWithFirstCharacter;

/**
 *@pragma 索引，获取A～Z的数组
 */
+ (NSArray *)upperCharacters;
@end

NS_ASSUME_NONNULL_END
